home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / info / xemacs-faq.info-2.z / xemacs-faq.info-2
Encoding:
GNU Info File  |  1998-05-21  |  48.7 KB  |  1,254 lines

  1. This is Info file ../info/xemacs-faq.info, produced by Makeinfo version
  2. 1.68 from the input file xemacs-faq.texi.
  3.  
  4. 
  5. File: xemacs-faq.info,  Node: Q2.0.1,  Next: Q2.0.2,  Prev: Installation,  Up: Installation
  6.  
  7. Running XEmacs without installing
  8. =================================
  9.  
  10.    The `INSTALL' file says that up to 108 MB of space is needed
  11. temporarily during installation!  How can I just try it out?
  12.  
  13.    XEmacs will run in place without requiring installation and copying
  14. of the Lisp directories, and without having to specify a special
  15. build-time flag.  It's the copying of the Lisp directories that
  16. requires so much space.  XEmacs is largely written in Lisp.
  17.  
  18.    A good method is to make a shell alias for xemacs:
  19.  
  20.      alias xemacs=/i/xemacs-20.2/src/xemacs
  21.  
  22.    (You will obviously use whatever directory you downloaded the source
  23. tree to instead of `/i/xemacs-20.2').
  24.  
  25.    This will let you run XEmacs without massive copying.
  26.  
  27. 
  28. File: xemacs-faq.info,  Node: Q2.0.2,  Next: Q2.0.3,  Prev: Q2.0.1,  Up: Installation
  29.  
  30. XEmacs is too big
  31. =================
  32.  
  33.    Although this entry has been written for XEmacs 19.13, most of it
  34. still stands true.
  35.  
  36.    Steve Baur <steve@xemacs.org> writes:
  37.  
  38.      The 45MB of space required by the installation directories can be
  39.      reduced dramatically if desired.  Gzip all the .el files.  Remove
  40.      all the packages you'll never want to use (or even ones you do
  41.      like the two obsolete mailcrypts and Gnus 4 in 19.13).  Remove the
  42.      TexInfo manuals.  Remove the Info (and use just hardcopy versions
  43.      of the manual).  Remove most of the stuff in etc.  Remove or gzip
  44.      all the source code.  Gzip or remove the C source code.  Configure
  45.      it so that copies are not made of the support lisp.  I'm not
  46.      advocating any of these things, just pointing out ways to reduce
  47.      the disk requirements if desired.
  48.  
  49.      Now examine the space used by directory:
  50.  
  51.           0    /usr/local/bin/xemacs
  52.           2048    /usr/local/bin/xemacs-19.13
  53.           
  54.           1546    /usr/local/lib/xemacs-19.13/i486-miranova-sco3.2v4.2
  55.           1158    /usr/local/lib/xemacs-19.13/i486-unknown-linux1.2.13
  56.  
  57.      You need to keep these.  XEmacs isn't stripped by default in
  58.      installation, you should consider stripping.  That will save you
  59.      about 5MB right there.
  60.  
  61.           207    /usr/local/lib/xemacs-19.13/etc/w3
  62.           122    /usr/local/lib/xemacs-19.13/etc/sounds
  63.           18    /usr/local/lib/xemacs-19.13/etc/sparcworks
  64.           159    /usr/local/lib/xemacs-19.13/etc/vm
  65.           6    /usr/local/lib/xemacs-19.13/etc/e
  66.           21    /usr/local/lib/xemacs-19.13/etc/eos
  67.           172    /usr/local/lib/xemacs-19.13/etc/toolbar
  68.           61    /usr/local/lib/xemacs-19.13/etc/ns
  69.           43    /usr/local/lib/xemacs-19.13/etc/gnus
  70.  
  71.      These are support directories for various packages.  In general
  72.      they match a directory under
  73.      ./xemacs-19.13/lib/xemacs-19.13/lisp/.  If you do not require the
  74.      package, you may delete or gzip the support too.
  75.  
  76.           1959    /usr/local/lib/xemacs-19.13/etc
  77.           175    /usr/local/lib/xemacs-19.13/lisp/bytecomp
  78.           340    /usr/local/lib/xemacs-19.13/lisp/calendar
  79.           342    /usr/local/lib/xemacs-19.13/lisp/comint
  80.           517    /usr/local/lib/xemacs-19.13/lisp/dired
  81.           42    /usr/local/lib/xemacs-19.13/lisp/electric
  82.           212    /usr/local/lib/xemacs-19.13/lisp/emulators
  83.           238    /usr/local/lib/xemacs-19.13/lisp/energize
  84.           289    /usr/local/lib/xemacs-19.13/lisp/gnus
  85.           457    /usr/local/lib/xemacs-19.13/lisp/ilisp
  86.           1439    /usr/local/lib/xemacs-19.13/lisp/modes
  87.           2276    /usr/local/lib/xemacs-19.13/lisp/packages
  88.           1040    /usr/local/lib/xemacs-19.13/lisp/prim
  89.           176    /usr/local/lib/xemacs-19.13/lisp/pcl-cvs
  90.           154    /usr/local/lib/xemacs-19.13/lisp/rmail
  91.           3    /usr/local/lib/xemacs-19.13/lisp/epoch
  92.           45    /usr/local/lib/xemacs-19.13/lisp/term
  93.           860    /usr/local/lib/xemacs-19.13/lisp/utils
  94.           851    /usr/local/lib/xemacs-19.13/lisp/vm
  95.           13    /usr/local/lib/xemacs-19.13/lisp/vms
  96.           157    /usr/local/lib/xemacs-19.13/lisp/x11
  97.           19    /usr/local/lib/xemacs-19.13/lisp/tooltalk
  98.           14    /usr/local/lib/xemacs-19.13/lisp/sunpro
  99.           291    /usr/local/lib/xemacs-19.13/lisp/games
  100.           198    /usr/local/lib/xemacs-19.13/lisp/edebug
  101.           619    /usr/local/lib/xemacs-19.13/lisp/w3
  102.           229    /usr/local/lib/xemacs-19.13/lisp/eos
  103.           55    /usr/local/lib/xemacs-19.13/lisp/iso
  104.           59    /usr/local/lib/xemacs-19.13/lisp/mailcrypt
  105.           187    /usr/local/lib/xemacs-19.13/lisp/eterm
  106.           356    /usr/local/lib/xemacs-19.13/lisp/ediff
  107.           408    /usr/local/lib/xemacs-19.13/lisp/hyperbole/kotl
  108.           1262    /usr/local/lib/xemacs-19.13/lisp/hyperbole
  109.           247    /usr/local/lib/xemacs-19.13/lisp/hm--html-menus
  110.           161    /usr/local/lib/xemacs-19.13/lisp/mh-e
  111.           299    /usr/local/lib/xemacs-19.13/lisp/viper
  112.           53    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-x
  113.           4    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/DocWindow.nib
  114.           3    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/InfoPanel.nib
  115.           3    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj/TreeView.nib
  116.           11    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx/English.lproj
  117.           53    /usr/local/lib/xemacs-19.13/lisp/oobr/tree-nx
  118.           466    /usr/local/lib/xemacs-19.13/lisp/oobr
  119.           14142    /usr/local/lib/xemacs-19.13/lisp
  120.  
  121.      These are all Emacs Lisp source code and bytecompiled object code.
  122.      You may safely gzip everything named *.el here.  You may remove
  123.      any package you don't use.  *Nothing bad will happen if you delete
  124.      a package that you do not use*.  You must be sure you do not use
  125.      it though, so be conservative at first.
  126.  
  127.      Possible candidates for deletion include w3 (newer versions exist,
  128.      or you may just use Lynx or Netscape for web browsing), games,
  129.      hyperbole, mh-e, hm-html-menus (better packages exist), vm, viper,
  130.      oobr, gnus (new versions exist), etc.  Ask yourself, *Do I ever
  131.      want to use this package?*  If the answer is no, then it is a
  132.      candidate for removal.
  133.  
  134.      First, gzip all the .el files.  Then go about package by package
  135.      and start gzipping the .elc files.  Then run XEmacs and do
  136.      whatever it is you normally do.  If nothing bad happens, then
  137.      delete the directory.  Be conservative about deleting directories,
  138.      and it would be handy to have a backup tape around in case you get
  139.      too zealous.
  140.  
  141.      `prim', `modes', `packages', and `utils' are four directories you
  142.      definitely do *not* want to delete, although certain packages can
  143.      be removed from them if you do not use them.
  144.  
  145.           1972    /usr/local/lib/xemacs-19.13/info
  146.  
  147.      These are online texinfo sources.  You may either gzip them or
  148.      remove them.  In either case, `C-h i' (info mode) will no longer
  149.      work.
  150.  
  151.           20778    /usr/local/lib/xemacs-19.13
  152.  
  153.      The 20MB achieved is less than half of what the full distribution
  154.      takes up, *and* can be achieved without deleting a single file.
  155.  
  156.    giacomo boffi <boffi@hp735.stru.polimi.it> provides this procedure:
  157.  
  158.      Substitute `/usr/local/lib/' with the path where the xemacs tree is
  159.      rooted, then use this script:
  160.  
  161.           #!/bin/sh
  162.           
  163.           r=/usr/local/lib/xemacs-19.13/lisp
  164.           
  165.           cd $r ; rm -f cmpr ; touch cmpr
  166.           
  167.           du -s .
  168.           
  169.           for d in * ; do
  170.             if test -d $d ; then
  171.               cd $d
  172.               for f in *.el ; do
  173.           #     compress (remove) only (ONLY) the sources that have a
  174.           #     corresponding compiled file --- do not (DO NOT) touch other
  175.           #     sources
  176.                 if test -f ${f}c ; then gzip -v9 $f >> $r/cmpr ; fi
  177.               done
  178.               cd ..
  179.             fi
  180.           done
  181.           
  182.           du -s .
  183.  
  184.      A step beyond would be substituting `rm -f' for `gzip -v9', but
  185.      you have to be desperate for removing the sources (remember that
  186.      emacs can access compressed files transparently).
  187.  
  188.      Also, a good megabyte could easily be trimmed from the $r/../etc
  189.      directory, e.g., the termcap files, some O+NEWS, others that I
  190.      don't remember as well.
  191.  
  192.      XEmacs 20.3 will unbundle the lisp hierarchy and allow the
  193.      installer to choose exactly how much support code gets installed.
  194.  
  195. 
  196. File: xemacs-faq.info,  Node: Q2.0.3,  Next: Q2.0.4,  Prev: Q2.0.2,  Up: Installation
  197.  
  198. Compiling XEmacs with Netaudio.
  199. ===============================
  200.  
  201.    What is the best way to compile XEmacs with the netaudio system,
  202. since I have got the netaudio system compiled but installed at a weird
  203. place, I am not root.  Also in the READMEs it does not say anything
  204. about compiling with the audioserver?
  205.  
  206.    You should only need to add some stuff to the configure command line.
  207. To tell it to compile in netaudio support: `--with-sound=both', or
  208. `--with-sound=nas' if you don't want native sound support for some
  209. reason.) To tell it where to find the netaudio includes and libraries:
  210.  
  211.      --site-libraries=WHATEVER
  212.      --site-includes=WHATEVER
  213.  
  214.    Then (fingers crossed) it should compile and it will use netaudio if
  215. you have a server running corresponding to the X server. The netaudio
  216. server has to be there when XEmacs starts. If the netaudio server goes
  217. away and another is run, XEmacs should cope (fingers crossed, error
  218. handling in netaudio isn't perfect).
  219.  
  220.    BTW, netaudio has been renamed as it has a name clash with something
  221. else, so if you see references to NAS or Network Audio System, it's the
  222. same thing.  It also might be found at
  223. <URL:ftp.x.org:/contrib/audio/nas/>.
  224.  
  225. 
  226. File: xemacs-faq.info,  Node: Q2.0.4,  Next: Q2.0.5,  Prev: Q2.0.3,  Up: Installation
  227.  
  228. Problems with Linux and ncurses.
  229. ================================
  230.  
  231.    On Linux 1.3.98 with termcap 2.0.8 and the ncurses that came with
  232. libc 5.2.18, XEmacs 20.0b20 is unable to open a tty device:
  233.  
  234.      src/xemacs -nw -q
  235.      Initialization error: Terminal type `xterm' undefined (or can't access database?)
  236.  
  237.    Ben Wing <ben@666.com> writes:
  238.  
  239.      Your ncurses configuration is messed up.  Your /usr/lib/terminfo
  240.      is a bad pointer, perhaps to a CD-ROM that is not inserted.
  241.  
  242. 
  243. File: xemacs-faq.info,  Node: Q2.0.5,  Next: Q2.0.6,  Prev: Q2.0.4,  Up: Installation
  244.  
  245. Do I need X11 to run XEmacs?
  246. ============================
  247.  
  248.    No.  The name "XEmacs" is unfortunate in the sense that it is *not*
  249. an X Window System-only version of Emacs.  Starting with 19.14 XEmacs
  250. has full color support on a color capable character terminal.
  251.  
  252. 
  253. File: xemacs-faq.info,  Node: Q2.0.6,  Next: Q2.0.7,  Prev: Q2.0.5,  Up: Installation
  254.  
  255. I'm having strange crashes.  What do I do?
  256. ==========================================
  257.  
  258.    There have been a variety of reports of crashes due to compilers with
  259. buggy optimizers.  Please see the `PROBLEMS' file that comes with
  260. XEmacs to read what it says about your platform.
  261.  
  262. 
  263. File: xemacs-faq.info,  Node: Q2.0.7,  Next: Q2.0.8,  Prev: Q2.0.6,  Up: Installation
  264.  
  265. Libraries in non-standard locations
  266. ===================================
  267.  
  268.    I have x-faces, jpeg, xpm etc. all in different places.  I've tried
  269. space-separated, comma-separated, several -site-libraries, all to no
  270. avail.
  271.  
  272.      --site-libraries='/path/one /path/two /path/etc'
  273.  
  274. 
  275. File: xemacs-faq.info,  Node: Q2.0.8,  Next: Q2.0.9,  Prev: Q2.0.7,  Up: Installation
  276.  
  277. can't resolve symbol _h_errno
  278. =============================
  279.  
  280.    You are using the Linux/ELF distribution of XEmacs 19.14, and your
  281. ELF libraries are out of date.  You have the following options:
  282.  
  283.   1. Upgrade your libc to at least 5.2.16 (better is 5.2.18, 5.3.12, or
  284.      5.4.10).
  285.  
  286.   2. Patch the XEmacs binary by replacing all occurrences of
  287.      `_h_errno^@' with `h_errno^@^@'.  Any version of Emacs will
  288.      suffice.  If you don't understand how to do this, don't do it.
  289.  
  290.   3. Rebuild XEmacs yourself - any working ELF version of libc should be
  291.      O.K.
  292.  
  293.    Hrvoje Niksic <hniksic@srce.hr> writes:
  294.  
  295.      Why not use a Perl one-liner for No. 2?
  296.  
  297.           perl -pi -e 's/_h_errno\0/h_errno\0\0/g' /usr/local/bin/xemacs-19.14
  298.  
  299.      NB: You *must* patch `/usr/local/bin/xemacs-19.14', and not
  300.      `xemacs' because `xemacs' is a link to `xemacs-19.14'; the Perl
  301.      `-i' option will cause unwanted side-effects if applied to a
  302.      symbolic link.
  303.  
  304.    SL Baur <steve@xemacs.org> writes:
  305.  
  306.      If you build against a recent libc-5.4 (late enough to have caused
  307.      problems earlier in the beta cycle) and then run with an earlier
  308.      version of libc, you get a
  309.  
  310.           $ xemacs
  311.           xemacs: can't resolve symbol '__malloc_hook'
  312.           zsh: 7942 segmentation fault (core dumped)  xemacs
  313.  
  314.      (Example binary compiled against libc-5.4.23 and run with
  315.      libc-5.4.16).
  316.  
  317.      The solution is to upgrade to at least libc-5.4.23.  Sigh.  Drat.
  318.  
  319. 
  320. File: xemacs-faq.info,  Node: Q2.0.9,  Next: Q2.0.10,  Prev: Q2.0.8,  Up: Installation
  321.  
  322. Where do I find external libraries?
  323. ===================================
  324.  
  325.    All external libraries used by XEmacs can be found at the XEmacs FTP
  326. site <URL:ftp://ftp.xemacs.org/pub/aux/>.
  327.  
  328.    The canonical locations (at the time of this writing) are as follows:
  329.  
  330. JPEG
  331.      <URL:ftp://ftp.uu.net/graphics/jpeg/>.  Version 6a is current.
  332.  
  333. XPM
  334.      <URL:ftp://ftp.x.org/contrib/libraries/>.  Version 3.4j is current.
  335.      Older versions of this package are known to cause XEmacs crashes.
  336.  
  337. TIFF
  338.      <URL:ftp://ftp.sgi.com/graphics/tiff/>.  v3.4 is current.  The
  339.      latest beta is v3.4b035.  There is a HOWTO here.
  340.  
  341. PNG
  342.      <URL:ftp://ftp.uu.net/graphics/png/>.  0.89c is current.  XEmacs
  343.      requires a fairly recent version to avoid using temporary files.
  344.  
  345.      <URL:ftp://swrinde.nde.swri.edu/pub/png/src/>
  346.  
  347. Compface
  348.      <URL:ftp://ftp.cs.indiana.edu/pub/faces/compface/>.  This library
  349.      has been frozen for about 6 years, and is distributed without
  350.      version numbers.  *It should be compiled with the same options
  351.      that X11 was compiled with on your system*.  The version of this
  352.      library at XEmacs.org includes the `xbm2xface.pl' script, written
  353.      by stig@hackvan.com, which may be useful when generating your own
  354.      xface.
  355.  
  356. NAS
  357.      <URL:ftp://ftp.x.org/contrib/audio/nas/>.  Version 1.2p5 is
  358.      current.  There is a FAQ here.
  359.  
  360. 
  361. File: xemacs-faq.info,  Node: Q2.0.10,  Next: Q2.0.11,  Prev: Q2.0.9,  Up: Installation
  362.  
  363. After I run configure I find a core dump, is something wrong?
  364. =============================================================
  365.  
  366.    Not necessarily.  If you have GNU sed 3.0 you should downgrade it to
  367. 2.05.  From the `README' at prep.ai.mit.edu:
  368.  
  369.      sed 3.0 has been withdrawn from distribution.  It has major
  370.      revisions, which mostly seem to be improvements; but it turns out
  371.      to have bugs too which cause trouble in some common cases.
  372.  
  373.      Tom Lord won't be able to work fixing the bugs until May.  So in
  374.      the mean time, we've decided to withdraw sed 3.0 from distribution
  375.      and make version 2.05 once again the recommended version.
  376.  
  377.    It has also been observed that the vfork test on Solaris will leave a
  378. core dump.
  379.  
  380. 
  381. File: xemacs-faq.info,  Node: Q2.0.11,  Next: Q2.0.12,  Prev: Q2.0.10,  Up: Installation
  382.  
  383. XEmacs doesn't resolve hostnames.
  384. =================================
  385.  
  386.    This is the result of a long-standing problem with SunOS and the fact
  387. that stock SunOS systems do not ship with DNS resolver code in libc.
  388.  
  389.    Christopher Davis <ckd@loiosh.kei.com> writes:
  390.  
  391.      That's correct [The SunOS 4.1.3 precompiled binaries don't do name
  392.      lookup].  Since Sun figured that everyone used NIS to do name
  393.      lookups (that DNS thing was apparently only a passing fad,
  394.      right?), the stock SunOS 4.x systems don't have DNS-based name
  395.      lookups in libc.
  396.  
  397.      This is also why Netscape ships two binaries for SunOS 4.1.x.
  398.  
  399.      The best solution is to compile it yourself; the configure script
  400.      will check to see if you've put DNS in the shared libc and will
  401.      then proceed to link against the DNS resolver library code.
  402.  
  403. 
  404. File: xemacs-faq.info,  Node: Q2.0.12,  Next: Q2.0.13,  Prev: Q2.0.11,  Up: Installation
  405.  
  406. Why can't I strip XEmacs?
  407. =========================
  408.  
  409.    Richard Cognot <cognot@fronsac.ensg.u-nancy.fr> writes:
  410.  
  411.      Because of the way XEmacs (and every other Emacsen, AFAIK) is
  412.      built. The link gives you a bare-boned emacs (called temacs).
  413.      temacs is then run, preloading some of the lisp files. The result
  414.      is then dumped into a new executable, named xemacs, which will
  415.      contain all of the preloaded lisp functions and data.
  416.  
  417.      Now, during the dump itself, the executable (code+data+symbols) is
  418.      written on disk using a special unexec() function. This function is
  419.      obviously heavily system dependent. And on some systems, it leads
  420.      to an executable which, although valid, cannot be stripped without
  421.      damage. If memory serves, this is especially the case for AIX
  422.      binaries. On other architecture it might work OK.
  423.  
  424.      The Right Way to strip the emacs binary is to strip temacs prior to
  425.      dumping xemacs. This will always work, although you can do that
  426.      only if you install from sources (as temacs is `not' part of the
  427.      binary kits).
  428.  
  429.    Nat Makarevitch <nat@nataa.fr.eu.org> writes:
  430.  
  431.      Here is the trick:
  432.  
  433.        1. [ ./configure; make ]
  434.  
  435.        2. rm src/xemacs
  436.  
  437.        3. strip src/temacs
  438.  
  439.        4. make
  440.  
  441.        5. cp src/xemacs /usr/local/bin/xemacs
  442.  
  443.        6. cp lib-src/DOC-19.16-XEmacs
  444.           /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout
  445.  
  446. 
  447. File: xemacs-faq.info,  Node: Q2.0.13,  Next: Q2.0.14,  Prev: Q2.0.12,  Up: Installation
  448.  
  449. Problems linking with Gcc on Solaris
  450. ====================================
  451.  
  452.    There are known difficulties linking with Gnu ld on Solaris.  A
  453. typical error message might look like:
  454.  
  455.      unexec(): dlopen(../dynodump/dynodump.so): ld.so.1: ./temacs:
  456.      fatal: relocation error:
  457.      symbol not found: main: referenced in ../dynodump/dynodump.so
  458.  
  459.    Martin Buchholz <mrb@eng.sun.com> writes:
  460.  
  461.      You need to specify `-fno-gnu-linker' as part of your flags to pass
  462.      to ld.  Future releases of XEmacs will try to do this
  463.      automatically.
  464.  
  465. 
  466. File: xemacs-faq.info,  Node: Q2.0.14,  Next: Q2.1.1,  Prev: Q2.0.13,  Up: Installation
  467.  
  468. Make on HP/UX 9 fails after linking temacs
  469. ==========================================
  470.  
  471.    Problem when building xemacs-19.16 on hpux 9:
  472.  
  473.    Richard Cognot <cognot@ensg.u-nancy.fr> writes:
  474.  
  475.      make on hpux fails after linking temacs with a message:
  476.  
  477.           "make: don't know how to make .y."
  478.  
  479.      Solution: This is a problem with HP make revision 70.X.  Either
  480.      use GNU make, or install PHCO_6552, which will bring make to
  481.      revision 72.24.1.17.
  482.  
  483. 
  484. File: xemacs-faq.info,  Node: Q2.1.1,  Next: Q2.1.2,  Prev: Q2.0.14,  Up: Installation
  485.  
  486. Help!  XEmacs just crashed on me!
  487. =================================
  488.  
  489.    First of all, don't panic.  Whenever XEmacs crashes, it tries
  490. extremely hard to auto-save all of your files before dying.  (The main
  491. time that this will not happen is if the machine physically lost power
  492. or if you killed the XEmacs process using `kill -9').  The next time
  493. you try to edit those files, you will be informed that a more recent
  494. auto-save file exists.  You can use `M-x recover-file' to retrieve the
  495. auto-saved version of the file.
  496.  
  497.    Starting with 19.14, you may use the command `M-x recover-session'
  498. after a crash to pick up where you left off.
  499.  
  500.    Now, XEmacs is not perfect, and there may occasionally be times, or
  501. particular sequences of actions, that cause it to crash.  If you can
  502. come up with a reproducible way of doing this (or even if you have a
  503. pretty good memory of exactly what you were doing at the time), the
  504. maintainers would be very interested in knowing about it.  Post a
  505. message to comp.emacs.xemacs or send mail to <crashes@xemacs.org>.
  506. Please note that the `crashes' address is exclusively for crash reports.
  507.  
  508.    If at all possible, include a stack backtrace of the core dump that
  509. was produced.  This shows where exactly things went wrong, and makes it
  510. much easier to diagnose problems.  To do this, you need to locate the
  511. core file (it's called `core', and is usually sitting in the directory
  512. that you started XEmacs from, or your home directory if that other
  513. directory was not writable).  Then, go to that directory and execute a
  514. command like:
  515.  
  516.      gdb `which xemacs` core
  517.  
  518.    and then issue the command `where' to get the stack backtrace.  You
  519. might have to use `dbx' or some similar debugger in place of `gdb'.  If
  520. you don't have any such debugger available, complain to your system
  521. administrator.
  522.  
  523.    It's possible that a core file didn't get produced, in which case
  524. you're out of luck.  Go complain to your system administrator and tell
  525. him not to disable core files by default.  Also *Note Q2.1.15:: for
  526. tips and techniques for dealing with a debugger.
  527.  
  528.    When making a problem report make sure that:
  529.  
  530.   1. Report *all* of the information output by XEmacs during the crash.
  531.  
  532.   2. You mention what O/S & Hardware you are running XEmacs on.
  533.  
  534.   3. What version of XEmacs you are running.
  535.  
  536.   4. What build options you are using.
  537.  
  538.   5. If the problem is related to graphics, we will also need to know
  539.      what version of the X Window System you are running, and what
  540.      window manager you are using.
  541.  
  542.   6. If the problem happened on a tty, please include the terminal type.
  543.  
  544. 
  545. File: xemacs-faq.info,  Node: Q2.1.2,  Next: Q2.1.3,  Prev: Q2.1.1,  Up: Installation
  546.  
  547. Cryptic Minibuffer messages.
  548. ============================
  549.  
  550.    When I try to use some particular option of some particular package,
  551. I get a cryptic error in the minibuffer.
  552.  
  553.    If you can't figure out what's going on, select Options/General
  554. Options/Debug on Error from the Menubar and then try and make the error
  555. happen again.  This will give you a backtrace that may be enlightening.
  556. If not, try reading through this FAQ; if that fails, you could try
  557. posting to comp.emacs.xemacs (making sure to include the backtrace) and
  558. someone may be able to help.  If you can identify which Emacs lisp
  559. source file the error is coming from you can get a more detailed stack
  560. backtrace by doing the following:
  561.  
  562.   1. Visit the .el file in an XEmacs buffer.
  563.  
  564.   2. Issue the command `M-x eval-current-buffer'.
  565.  
  566.   3. Reproduce the error.
  567.  
  568.    Depending on the version of XEmacs, you may either select Edit->Show
  569. Messages (19.13 and earlier) or Help->Recent Keystrokes/Messages (19.14
  570. and later) from the menubar to see the most recent messages.  This
  571. command is bound to `C-h l' by default.
  572.  
  573. 
  574. File: xemacs-faq.info,  Node: Q2.1.3,  Next: Q2.1.4,  Prev: Q2.1.2,  Up: Installation
  575.  
  576. Translation Table Syntax messages at Startup
  577. ============================================
  578.  
  579.    I get tons of translation table syntax error messages during startup.
  580. How do I get rid of them?
  581.  
  582.    There are two causes of this problem.  The first usually only strikes
  583. people using the prebuilt binaries.  The culprit in both cases is the
  584. file `XKeysymDB'.
  585.  
  586.    * The binary cannot find the `XKeysymDB' file.  The location is
  587.      hardcoded at compile time so if the system the binary was built on
  588.      puts it a different place than your system does, you have
  589.      problems.  To fix, set the environment variable XKEYSYMDB to the
  590.      location of the `XKeysymDB' file on your system or to the location
  591.      of the one included with XEmacs which should be at
  592.      `<xemacs_root_directory>/lib/xemacs-19.16/etc/XKeysymDB'.
  593.  
  594.    * The binary is finding the XKeysymDB but it is out-of-date on your
  595.      system and does not contain the necessary lines.  Either ask your
  596.      system administrator to replace it with the one which comes with
  597.      XEmacs (which is the stock R6 version and is backwards compatible)
  598.      or set your XKEYSYMDB variable to the location of XEmacs's
  599.      described above.
  600.  
  601. 
  602. File: xemacs-faq.info,  Node: Q2.1.4,  Next: Q2.1.5,  Prev: Q2.1.3,  Up: Installation
  603.  
  604. Startup warnings about deducing proper fonts?
  605. =============================================
  606.  
  607.    How can I avoid the startup warnings about deducing proper fonts?
  608.  
  609.    This is highly dependent on your installation, but try with the
  610. following font as your base font for XEmacs and see what it does:
  611.  
  612.      -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
  613.  
  614.    More precisely, do the following in your resource file:
  615.  
  616.      Emacs.default.attributeFont: -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
  617.  
  618.    If you just don't want to see the `*Warnings*' buffer at startup
  619. time, you can set this:
  620.  
  621.      (setq display-warning-minimum-level 'error)
  622.  
  623.    The buffer still exists; it just isn't in your face.
  624.  
  625. 
  626. File: xemacs-faq.info,  Node: Q2.1.5,  Next: Q2.1.6,  Prev: Q2.1.4,  Up: Installation
  627.  
  628. XEmacs cannot connect to my X Terminal!
  629. =======================================
  630.  
  631.    Help!  I can not get XEmacs to display on my Envizex X-terminal!
  632.  
  633.    Try setting the DISPLAY variable using the numeric IP address of the
  634. host you are running XEmacs from.
  635.  
  636. 
  637. File: xemacs-faq.info,  Node: Q2.1.6,  Next: Q2.1.7,  Prev: Q2.1.5,  Up: Installation
  638.  
  639. XEmacs just locked up my Linux X server!
  640. ========================================
  641.  
  642.    There have been several reports of the X server locking up under
  643. Linux.  In all reported cases removing speedo and scaled fonts from the
  644. font path corrected the problem.  This can be done with the command
  645. `xset'.
  646.  
  647.    It is possible that using a font server may also solve the problem.
  648.  
  649. 
  650. File: xemacs-faq.info,  Node: Q2.1.7,  Next: Q2.1.8,  Prev: Q2.1.6,  Up: Installation
  651.  
  652. HP Alt key as Meta.
  653. ===================
  654.  
  655.    How can I make XEmacs recognize the Alt key of my HP workstation as a
  656. Meta key?
  657.  
  658.    Put the following line into a file and load it with xmodmap(1) before
  659. starting XEmacs:
  660.  
  661.      remove Mod1 = Mode_switch
  662.  
  663. 
  664. File: xemacs-faq.info,  Node: Q2.1.8,  Next: Q2.1.9,  Prev: Q2.1.7,  Up: Installation
  665.  
  666. got (wrong-type-argument color-instance-p nil)
  667. ==============================================
  668.  
  669.    Natalie Kershaw <nataliek@rd.scitec.com.au> writes:
  670.  
  671.      I am trying to run xemacs 19.13 under X11R4. Whenever I move the
  672.      mouse I get the following error. Has anyone seen anything like
  673.      this? This doesn't occur on X11R5.
  674.  
  675.           Signalling: (error "got (wrong-type-argument color-instance-p nil) and I don't know why!")
  676.  
  677.    dinos <map01kd@gold.ac.uk> writes:
  678.  
  679.      I think this is due to undefined resources; You need to define
  680.      color backgrounds and foregrounds into your
  681.      `.../app-defaults/Emacs' like:
  682.  
  683.           *Foreground:    Black    ;everything will be of black on grey95,
  684.           *Background:    Grey95    ;unless otherwise specified.
  685.           *cursorColor:    Red3    ;red3 cursor with grey95 border.
  686.           *pointerColor:    Red3    ;red3 pointer with grey95 border.
  687.  
  688.    Natalie Kershaw adds:
  689.  
  690.      What fixed the problem was adding some more colors to the X color
  691.      database (copying the X11R5 colors over), and also defining the
  692.      following resources:
  693.  
  694.           xemacs*cursorColor:    black
  695.           xemacs*pointerColor:   black
  696.  
  697.      With the new colours installed the problem still occurs if the
  698.      above resources are not defined.
  699.  
  700.      If the new colours are not present then an additional error occurs
  701.      on XEmacs startup, which says `Color Red3' not defined.
  702.  
  703. 
  704. File: xemacs-faq.info,  Node: Q2.1.9,  Next: Q2.1.10,  Prev: Q2.1.8,  Up: Installation
  705.  
  706. XEmacs causes my OpenWindows 3.0 server to crash.
  707. =================================================
  708.  
  709.    The OpenWindows 3.0 server is incredibly buggy.  Your best bet is to
  710. replace it with one from the generic MIT X11 release.  You might also
  711. try disabling parts of your `.emacs', like enabling background pixmaps.
  712.  
  713. 
  714. File: xemacs-faq.info,  Node: Q2.1.10,  Next: Q2.1.11,  Prev: Q2.1.9,  Up: Installation
  715.  
  716. Warnings from incorrect key modifiers.
  717. ======================================
  718.  
  719.    The following information comes from the `PROBLEMS' file that comes
  720. with XEmacs.
  721.  
  722.    If you're having troubles with HP/UX it is because HP/UX defines the
  723. modifiers wrong in X.  Here is a shell script to fix the problem; be
  724. sure that it is run after VUE configures the X server.
  725.  
  726.      #! /bin/sh
  727.      xmodmap 2> /dev/null - << EOF
  728.      keysym Alt_L = Meta_L
  729.      keysym Alt_R = Meta_R
  730.      EOF
  731.      
  732.      xmodmap - << EOF
  733.      clear mod1
  734.      keysym Mode_switch = NoSymbol
  735.      add mod1 = Meta_L
  736.      keysym Meta_R = Mode_switch
  737.      add mod2 = Mode_switch
  738.      EOF
  739.  
  740. 
  741. File: xemacs-faq.info,  Node: Q2.1.11,  Next: Q2.1.12,  Prev: Q2.1.10,  Up: Installation
  742.  
  743. [This question intentionally left blank]
  744. ========================================
  745.  
  746.    Obsolete question, left blank to avoid renumbering.
  747.  
  748. 
  749. File: xemacs-faq.info,  Node: Q2.1.12,  Next: Q2.1.13,  Prev: Q2.1.11,  Up: Installation
  750.  
  751. Problems with Regular Expressions on DEC OSF1.
  752. ==============================================
  753.  
  754.    I have xemacs 19.13 running on an alpha running OSF1 V3.2 148 and
  755. ispell would not run because it claimed the version number was incorrect
  756. although it was indeed OK. I traced the problem to the regular
  757. expression handler.
  758.  
  759.    Douglas Kosovic <douglask@dstc.edu.au> writes:
  760.  
  761.      Actually it's a DEC cc optimisation bug that screws up the regexp
  762.      handling in XEmacs.
  763.  
  764.      Rebuilding using the `-migrate' switch for DEC cc (which uses a
  765.      different sort of optimisation) works fine.
  766.  
  767.    See `xemacs-19_13-dunix-3_2c.patch' at the following URL on how to
  768. build with the `-migrate' flag:
  769.  
  770.      <URL:http://www-digital.cern.ch/carney/emacs/emacs.html>
  771.  
  772.    NOTE: There have been a variety of other problems reported that are
  773. fixed in this fashion.
  774.  
  775. 
  776. File: xemacs-faq.info,  Node: Q2.1.13,  Next: Q2.1.14,  Prev: Q2.1.12,  Up: Installation
  777.  
  778. HP/UX 10.10 and `create_process' failure.
  779. =========================================
  780.  
  781.    Dave Carrigan <Dave.Carrigan@ipl.ca> writes:
  782.  
  783.      With XEmacs 19.13 and HP/UX 10.10, anything that relies on the
  784.      `create_process' function fails. This breaks a lot of things
  785.      (shell-mode, compile, ange-ftp, to name a few).
  786.  
  787.    Phil Johnson <johnson@dtc.hp.com> writes:
  788.  
  789.      This is a problem specific to HP-UX 10.10.  It only occurs when
  790.      XEmacs is compiled for shared libraries (the default), so you can
  791.      work around it by compiling a statically-linked binary (run
  792.      configure with `--dynamic=no').
  793.  
  794.      I'm not sure whether the problem is with a particular shared
  795.      library or if it's a kernel problem which crept into 10.10.
  796.  
  797.    Richard Cognot <cognot@ensg.u-nancy.fr> writes:
  798.  
  799.      I had a few problems with 10.10. Apparently, some of them were
  800.      solved by forcing a static link of libc (manually).
  801.  
  802. 
  803. File: xemacs-faq.info,  Node: Q2.1.14,  Next: Q2.1.15,  Prev: Q2.1.13,  Up: Installation
  804.  
  805. `C-g' doesn't work for me.  Is it broken?
  806. =========================================
  807.  
  808.    Ben Wing <ben@666.com> writes:
  809.  
  810.      `C-g' does work for most people in most circumstances.  If it
  811.      doesn't, there are only two explanations:
  812.  
  813.        1. The code is wrapped with a binding of `inhibit-quit' to `t'.
  814.           `Ctrl-Shift-G' should still work, I think.
  815.  
  816.        2. SIGIO is broken on your system, but BROKEN_SIGIO isn't
  817.           defined.
  818.  
  819.      To test #2, try executing `(while t)' from the `*scratch*' buffer.
  820.      If `C-g' doesn't interrupt, then you're seeing #2.
  821.  
  822.    Morten Welinder <terra@diku.dk> writes:
  823.  
  824.      On some (but *not* all) machines a hung XEmacs can be revived by
  825.      `kill -FPE <pid>'.  This is a hack, of course, not a solution.
  826.      This technique works on a Sun4 running 4.1.3_U1.  To see if it
  827.      works for you, start another XEmacs and test with that first.  If
  828.      you get a core dump the method doesn't work and if you get
  829.      `Arithmetic error' then it does.
  830.  
  831. 
  832. File: xemacs-faq.info,  Node: Q2.1.15,  Next: Q2.1.16,  Prev: Q2.1.14,  Up: Installation
  833.  
  834. How to Debug an XEmacs problem with a debugger
  835. ==============================================
  836.  
  837.    Ben Wing <ben@666.com> writes:
  838.  
  839.      If XEmacs does crash on you, one of the most productive things you
  840.      can do to help get the bug fixed is to poke around a bit with the
  841.      debugger.  Here are some hints:
  842.  
  843.         * First of all, if the crash is at all reproducible, consider
  844.           very strongly recompiling your XEmacs with debugging symbols,
  845.           with no optimization, and with the configure options
  846.           `--debug=yes', `--error-checking=all', and `--dynamic=no'.
  847.           This will make your XEmacs run somewhat slower but make it a
  848.           lot more likely to catch the problem earlier (closer to its
  849.           source), and a lot easier to determine what's going on with a
  850.           debugger.
  851.  
  852.         * If you're able to run XEmacs under a debugger and reproduce
  853.           the crash (if it's inconvenient to do this because XEmacs is
  854.           already running or is running in batch mode as part of a
  855.           bunch of scripts, consider attaching to the existing process
  856.           with your debugger; most debuggers let you do this by
  857.           substituting the process ID for the core file when you invoke
  858.           the debugger from the command line, or by using the `attach'
  859.           command or something similar), here are some things you can
  860.           do:
  861.  
  862.         * If XEmacs is hitting an assertion failure, put a breakpoint on
  863.           `assert_failed()'.
  864.  
  865.         * If XEmacs is hitting some weird Lisp error that's causing it
  866.           to crash (e.g. during startup), put a breakpoint on
  867.           `signal_1()'--this is declared static in eval.c.
  868.  
  869.         * Internally, you will probably see lots of variables that hold
  870.           objects of type `Lisp_Object'.  These are exactly what they
  871.           appear to be, i.e. references to Lisp objects.  Printing them
  872.           out with the debugger probably won't be too useful--you'll
  873.           just see a number.  To decode them, do this:
  874.  
  875.                call debug_print (OBJECT)
  876.  
  877.           where OBJECT is whatever you want to decode (it can be a
  878.           variable, a function call, etc.).  This will print out a
  879.           readable representation on the TTY from which the xemacs
  880.           process was invoked.
  881.  
  882.         * If you want to get a Lisp backtrace showing the Lisp call
  883.           stack, do this:
  884.  
  885.                call debug_backtrace ()
  886.  
  887.         * If all you've got is a core dump, all is not lost.  You can
  888.           still poke around somewhat, and if you're using GDB, there
  889.           are some macros in the file `gdbinit' in the `src' directory
  890.           of the XEmacs distribution that should make it easier for you
  891.           to decode Lisp objects.
  892.  
  893.           If you're using DBX, you may be able to get further help from
  894.           Martin Buchholz, the engineer at Sun who works on XEmacs.
  895.           Write to him at <Martin.Buchholz@sun.com>.
  896.  
  897.         * If you're using a debugger to get a C stack backtrace and
  898.           you're seeing stack traces with some of the innermost frames
  899.           mangled, it may be due to dynamic linking. (This happens
  900.           especially under Linux.) Consider reconfiguring with
  901.           `--dynamic=no'.  Also, sometimes (again under Linux), stack
  902.           backtraces of core dumps will have the frame where the fatal
  903.           signal occurred mangled; if you can obtain a stack trace while
  904.           running the XEmacs process under a debugger, the stack trace
  905.           should be clean.
  906.  
  907.           Curtiss <1CMC3466@ibm.mtsac.edu> suggests upgrading to ld.so
  908.           version 1.8 if dynamic linking and debugging is a problem on
  909.           Linux.
  910.  
  911.         * If you're using a debugger to get a C stack backtrace and
  912.           you're getting a completely mangled and bogus stack trace,
  913.           it's probably due to one of the following:
  914.  
  915.             a. Your executable has been stripped.  Bad news.  Tell your
  916.                sysadmin not to do this--it doesn't accomplish anything
  917.                except to save a bit of disk space, and makes debugging
  918.                much much harder.
  919.  
  920.             b. Your stack is getting trashed.  Debugging this is hard;
  921.                you have to do a binary-search-type of narrowing down
  922.                where the crash occurs, until you figure out exactly
  923.                which line is causing the problem.  Of course, this only
  924.                works if the bug is highly reproducible.
  925.  
  926.             c. If your stack trace has exactly one frame in it, with
  927.                address 0x0, this could simply mean that XEmacs
  928.                attempted to execute code at that address, e.g. through
  929.                jumping to a null function pointer.  Unfortunately, under
  930.                those circumstances, GDB under Linux doesn't know how to
  931.                get a stack trace. (Yes, this is the third Linux-related
  932.                problem I've mentioned.  I have no idea why GDB under
  933.                Linux is so bogus.  Complain to the GDB authors, or to
  934.                comp.os.linux.development.system).  Again, you'll have to
  935.                use the narrowing-down process described above.
  936.  
  937.             d. If you compiled 19.14 with `--debug' (or by default in
  938.                later versions), you will get a Lisp backtrace output
  939.                when XEmacs crashes, so you'll have something useful.
  940.                If you're in 19.13, you could try doing `call
  941.                debug_backtrace()'--sometimes this works even after a
  942.                fatal signal has been received.
  943.  
  944.    Here's some more info about using gdbinit:
  945.  
  946.    Different version of `gdbinit' are provided for different platforms.
  947. One of these should be installed as `.gdbinit' in your home directory.
  948. If you're using XEmacs 19.14 or better, you should install the default
  949. `gdbinit' in the `src/' directory if you have GDB 4.14 or better.  With
  950. GDB 4.13 or earlier, install `gdbinit.pre-4.14'; however, this is
  951. noticeably harder to use.  If you're on a machine that uses a union
  952. type for Lisp_Objects (only the DEC Alpha, I think), you'll have to use
  953. `gdbinit.union', which is of the pre-4.14 variety but should be easily
  954. upgradable.
  955.  
  956.    With XEmacs 19.13 and earlier, only one `gdbinit' is provided (I
  957. think); it's of the pre-4.14 variety and of the union-type variety.
  958. (Many more machines used the union type under 19.13).
  959.  
  960.    With the GDB 4.14+ gdbinit, you can print out a Lisp_Object using
  961. `p1 OBJECT' (which calls `debug_print()', and hence only works if you
  962. have a running process) or `frob OBJECT' (which works even on core
  963. dumps, and does its own decoding of the object, but its output isn't
  964. always so convenient).
  965.  
  966.    With the pre-GDB 4.14 gdbinit, you have to do these steps:
  967.  
  968.      print OBJECT
  969.      xtype
  970.      <then type "xcons" or "xstring" or whatever, depending on the type>
  971.  
  972.    If the object is a record type, you'll probably have to the following
  973. steps:
  974.  
  975.      print OBJECT
  976.      xtype
  977.      xrecord
  978.      <remember what type is printed>
  979.      print OBJECT
  980.      <then type "xbuffer" or "xsymbol" or whatever>
  981.  
  982.    Of course, if you know in advance what type the object is of, you can
  983. omit all but the last two steps.
  984.  
  985. 
  986. File: xemacs-faq.info,  Node: Q2.1.16,  Next: Q2.1.17,  Prev: Q2.1.15,  Up: Installation
  987.  
  988. XEmacs crashes in `strcat' on HP/UX 10
  989. ======================================
  990.  
  991.    >From the problems database (through
  992. <URL:http://support.mayfield.hp.com/>):
  993.  
  994.      Problem Report: 5003302299
  995.      Status:         Open
  996.      
  997.      System/Model:   9000/700
  998.      Product Name:   HPUX S800 10.0X
  999.      Product Vers:   9245XB.10.00
  1000.      
  1001.      Description: strcat(3C) may read beyond end of source string, can cause
  1002.      SIGSEGV
  1003.      
  1004.      
  1005.      *** PROBLEM TEXT ***
  1006.      strcat(3C) may read beyond the source string onto an unmapped page,
  1007.      causing a segmentation violation.
  1008.  
  1009. 
  1010. File: xemacs-faq.info,  Node: Q2.1.17,  Next: Q2.1.18,  Prev: Q2.1.16,  Up: Installation
  1011.  
  1012. `Marker does not point anywhere'
  1013. ================================
  1014.  
  1015.    As with other errors, set `debug-on-error' to `t' to get the
  1016. backtrace when the error occurs.  Specifically, two problems have been
  1017. reported (and fixed).
  1018.  
  1019.   1. A problem with line-number-mode in XEmacs 19.14 affected a large
  1020.      number of other packages.  If you see this error message, turn off
  1021.      line-number-mode.
  1022.  
  1023.   2. A problem with some early versions of Gnus 5.4 caused this error.
  1024.      Upgrade your Gnus.
  1025.  
  1026. 
  1027. File: xemacs-faq.info,  Node: Q2.1.18,  Next: Q2.1.19,  Prev: Q2.1.17,  Up: Installation
  1028.  
  1029. 19.14 hangs on HP/UX 10.10.
  1030. ===========================
  1031.  
  1032.    Richard Cognot <cognot@ensg.u-nancy.fr> writes:
  1033.  
  1034.      For the record, compiling on hpux 10.10 leads to a hang in Gnus
  1035.      when compiled with optimization on.
  1036.  
  1037.      I've just discovered that my hpux 10.01 binary was working less
  1038.      well than expected. In fact, on a 10.10 system, `(while t)' was not
  1039.      interupted by `C-g'. I defined `BROKEN_SIGIO' and recompiled on
  1040.      10.10, and... the hang is now gone.
  1041.  
  1042.      As far as configure goes, this will be a bit tricky: `BROKEN_SIGIO'
  1043.      is needed on 10.10, but *not* on 10.01: if I run my 10.01 binary
  1044.      on a 10.01 machine, without `BROKEN_SIGIO' being defined, `C-g'
  1045.      works as expected.
  1046.  
  1047.    Richard Cognot <cognot@ensg.u-nancy.fr> adds:
  1048.  
  1049.      Apparently somebody has found the reason why there is this `poll:
  1050.      interrupted...' message for each event.  For some reason, libcurses
  1051.      reimplements a `select()' system call, in a highly broken fashion.
  1052.      The fix is to add a -lc to the link line *before* the -lxcurses.
  1053.      XEmacs will then use the right version of `select()'.
  1054.  
  1055.    Alain Fauconnet <af@biomath.jussieu.fr> writes:
  1056.  
  1057.      The *real* solution is to *not* link -lcurses in!  I just changed
  1058.      -lcurses to -ltermcap in the Makefile and it fixed:
  1059.  
  1060.        1. The `poll: interrupted system call' message.
  1061.  
  1062.        2. A more serious problem I had discovered in the meantime, that
  1063.           is the fact that subprocess handling was seriously broken:
  1064.           subprocesses e.g. started by AUC TeX for TeX compilation of a
  1065.           buffer would *hang*.  Actually they would wait forever for
  1066.           emacs to read the socket which connects stdout...
  1067.  
  1068. 
  1069. File: xemacs-faq.info,  Node: Q2.1.19,  Next: Q2.1.20,  Prev: Q2.1.18,  Up: Installation
  1070.  
  1071. XEmacs does not follow the local timezone.
  1072. ==========================================
  1073.  
  1074.    When using one of the prebuilt binaries many users have observed that
  1075. XEmacs uses the timezone under which it was built, but not the timezone
  1076. under which it is running.  The solution is to add:
  1077.  
  1078.      (set-time-zone-rule "MET")
  1079.  
  1080.    to your `.emacs' or the `site-start.el' file if you can.  Replace
  1081. `MET' with your local timezone.
  1082.  
  1083. 
  1084. File: xemacs-faq.info,  Node: Q2.1.20,  Next: Q2.1.21,  Prev: Q2.1.19,  Up: Installation
  1085.  
  1086. `Symbol's function definition is void: hkey-help-show.'
  1087. =======================================================
  1088.  
  1089.    This is a problem with a partially loaded hyperbole.  Try adding:
  1090.  
  1091.      (require 'hmouse-drv)
  1092.  
  1093.    where you load hyperbole and the problem should go away.
  1094.  
  1095. 
  1096. File: xemacs-faq.info,  Node: Q2.1.21,  Next: Q2.1.22,  Prev: Q2.1.20,  Up: Installation
  1097.  
  1098. Every so often the XEmacs frame freezes
  1099. =======================================
  1100.  
  1101.    This problem has been fixed in 19.15, and was due to a not easily
  1102. reproducible race condition.
  1103.  
  1104. 
  1105. File: xemacs-faq.info,  Node: Q2.1.22,  Next: Q2.1.23,  Prev: Q2.1.21,  Up: Installation
  1106.  
  1107. XEmacs seems to take a really long time to do some things
  1108. =========================================================
  1109.  
  1110.    David Moore <dmoore@ucsd.edu> writes:
  1111.  
  1112.      Two things you can do:
  1113.  
  1114.      1) C level:
  1115.  
  1116.      When you see it going mad like this, you might want to use gdb
  1117.      from an 'xterm' to attach to the running process and get a stack
  1118.      trace.  To do this just run:
  1119.  
  1120.           gdb /path/to/xemacs/xemacs ####
  1121.  
  1122.      Where `####' is the process id of your xemacs, instead of
  1123.      specifying the core.  When gdb attaches, the xemacs will stop [1]
  1124.      and you can type `where' in gdb to get a stack trace as usual.  To
  1125.      get things moving again, you can just type `quit' in gdb.  It'll
  1126.      tell you the program is running and ask if you want to quit
  1127.      anyways.  Say 'y' and it'll quit and have your emacs continue from
  1128.      where it was at.
  1129.  
  1130.      2) Lisp level:
  1131.  
  1132.      Turn on debug-on-quit early on.  When you think things are going
  1133.      slow hit C-g and it may pop you in the debugger so you can see
  1134.      what routine is running.  Press `c' to get going again.
  1135.  
  1136.      debug-on-quit doesn't work if something's turned on inhibit-quit
  1137.      or in some other strange cases.
  1138.  
  1139. 
  1140. File: xemacs-faq.info,  Node: Q2.1.23,  Prev: Q2.1.22,  Up: Installation
  1141.  
  1142. Movemail on Linux doe snot work for XEmacs 19.15 and later.
  1143. ===========================================================
  1144.  
  1145.    Movemail used to work fine in 19.14 but has stopped working in 19.15
  1146. and 20.x.  I am using Linux.
  1147.  
  1148.    SL Baur <steve@xemacs.org> writes:
  1149.  
  1150.      Movemail on Linux used to default to using flock file locking.
  1151.      With 19.15 and later versions it now defaults to using `.lock' file
  1152.      locking.  If this is not appropriate for your system, edit
  1153.      src/s/linux.h and uncomment the line that reads:
  1154.  
  1155.           #define MAIL_USE_FLOCK
  1156.  
  1157. 
  1158. File: xemacs-faq.info,  Node: Customization,  Next: Subsystems,  Prev: Installation,  Up: Top
  1159.  
  1160. Customization and Options
  1161. *************************
  1162.  
  1163.    This is part 3 of the XEmacs Frequently Asked Questions list.  This
  1164. section is devoted to Customization and screen settings.
  1165.  
  1166. * Menu:
  1167.  
  1168. Customization--Emacs Lisp and `.emacs':
  1169. * Q3.0.1::      What version of Emacs am I running?
  1170. * Q3.0.2::      How do I evaluate Elisp expressions?
  1171. * Q3.0.3::      `(setq tab-width 6)' behaves oddly.
  1172. * Q3.0.4::      How can I add directories to the `load-path'?
  1173. * Q3.0.5::      How to check if a lisp function is defined?
  1174. * Q3.0.6::      Can I force the output of `(face-list)' to a buffer?
  1175. * Q3.0.7::      Font selections don't get saved after `Save Options'.
  1176. * Q3.0.8::      How do I make a single minibuffer frame?
  1177. * Q3.0.9::      `Customize'.
  1178.  
  1179. X Window System & Resources:
  1180. * Q3.1.1::      Where is a list of X resources?
  1181. * Q3.1.2::      How can I detect a color display?
  1182. * Q3.1.3::      `(set-screen-width)' worked in 19.6, but not in 19.13?
  1183. * Q3.1.4::      Specifiying `Emacs*EmacsScreen.geometry' in `.emacs' does not work in 19.15?
  1184. * Q3.1.5::      How can I get the icon to just say `XEmacs'?
  1185. * Q3.1.6::      How can I have the window title area display the full path?
  1186. * Q3.1.7::      `xemacs -name junk' doesn't work?
  1187. * Q3.1.8::      `-iconic' it doesn't work.
  1188.  
  1189. Textual Fonts & Colors:
  1190. * Q3.2.1::      How can I set color options from `.emacs'?
  1191. * Q3.2.2::      How do I set the text, menu and modeline fonts?
  1192. * Q3.2.3::      How can I set the colors when highlighting a region?
  1193. * Q3.2.4::      How can I limit color map usage?
  1194. * Q3.2.5::      My tty supports color, but XEmacs doesn't use them.
  1195.  
  1196. The Modeline:
  1197. * Q3.3.1::      How can I make the modeline go away?
  1198. * Q3.3.2::      How do you have XEmacs display the line number in the modeline?
  1199. * Q3.3.3::      How do I get XEmacs to put the time of day on the modeline?
  1200. * Q3.3.4::      How do I turn off current chapter from AUC TeX modeline?
  1201. * Q3.3.5::      How can one change the modeline color based on the mode used?
  1202.  
  1203. 3.4 Multiple Device Support:
  1204. * Q3.4.1::      How do I open a frame on another screen of my multi-headed display?
  1205. * Q3.4.2::      Can I really connect to a running XEmacs after calling up over a modem?  How?
  1206.  
  1207. 3.5 The Keyboard:
  1208. * Q3.5.1::      How can I bind complex functions (or macros) to keys?
  1209. * Q3.5.2::      How can I stop down-arrow from adding empty lines to the bottom of my buffers?
  1210. * Q3.5.3::      How do I bind C-. and C-; to scroll one line up and down?
  1211. * Q3.5.4::      Globally binding `Delete'?
  1212. * Q3.5.5::      Scrolling one line at a time.
  1213. * Q3.5.6::      How to map `Help' key alone on Sun type4 keyboard?
  1214. * Q3.5.7::      How can you type in special characters in XEmacs?
  1215. * Q3.5.8::      Why does `(global-set-key [delete-forward] 'delete-char)' complain?
  1216. * Q3.5.9::      How do I make the Delete key delete forward?
  1217. * Q3.5.10::     Can I turn on "sticky" modifier keys?
  1218.  
  1219. The Cursor:
  1220. * Q3.6.1::      Is there a way to make the bar cursor thicker?
  1221. * Q3.6.2::      Is there a way to get back the old block cursor where the cursor covers the character in front of the point?
  1222. * Q3.6.3::      Can I make the cursor blink?
  1223.  
  1224. The Mouse and Highlighting:
  1225. * Q3.7.1::      How can I turn off Mouse pasting?
  1226. * Q3.7.2::      How do I set control/meta/etc modifiers on mouse buttons?
  1227. * Q3.7.3::      Clicking the left button does not do anything in buffer list.
  1228. * Q3.7.4::      How can I get a list of buffers when I hit mouse button 3?
  1229. * Q3.7.5::      Why does cut-and-paste not work between XEmacs and a cmdtool?
  1230. * Q3.7.6::      How I can set XEmacs up so that it pastes where the text cursor is?
  1231. * Q3.7.7::      How do I select a rectangular region?
  1232. * Q3.7.8::      Why does `M-w' take so long?
  1233.  
  1234. The Menubar and Toolbar:
  1235. * Q3.8.1::      How do I get rid of the menu (or menubar)?
  1236. * Q3.8.2::      Can I customize the basic menubar?
  1237. * Q3.8.3::      How do I control how many buffers are listed in the menu `Buffers' list?
  1238. * Q3.8.4::      Resources like `Emacs*menubar*font' are not working?
  1239. * Q3.8.5::      How can I bind a key to a function to toggle the toolbar?
  1240.  
  1241. Scrollbars:
  1242. * Q3.9.1::      How can I disable the scrollbar?
  1243. * Q3.9.2::      How can one use resources to change scrollbar colors?
  1244. * Q3.9.3::      Moving the scrollbar can move the point; can I disable this?
  1245. * Q3.9.4::      How can I get automatic horizontal scrolling?
  1246.  
  1247. Text Selections:
  1248. * Q3.10.1::     How can I turn off or change highlighted selections?
  1249. * Q3.10.2::     How do I get that typing on an active region removes it?
  1250. * Q3.10.3::     Can I turn off the highlight during isearch?
  1251. * Q3.10.4::     How do I turn off highlighting after `C-x C-p' (mark-page)?
  1252. * Q3.10.5::     The region disappears when I hit the end of buffer while scrolling.
  1253.  
  1254.